﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEditor;
using UnityEngine;
using UnityEngine.Timeline;

public static class MiaoLineCreater
{
    const string savePath = "Assets/Data";
    const string name = "Test";

    [MenuItem("Assets/Miaoline创建")]
    public static void CreateMiaoLine()
    {

        MiaolineAsset miaoline = ScriptableObject.CreateInstance<MiaolineAsset>();//创建一个资源
        AssetDatabase.CreateAsset(miaoline, $@"{savePath}{name}.playable");
        
    }
}

